Command Line Arguments
Invoking Password Safe with
no arguments will cause the application to prompt you for the
combination of the last database that was opened, or for the
combination of a new database if none was previously opened on your machine (e.g., the first time you use Password Safe).
It is, however, possible to modify this by invoking Password Safe as follows:
- pwsafe database
This will open the specified database file, instead of the last one opened.
- pwsafe -r database
This will open the database in read-only mode.
- pwsafe -v database
This will validate
the database after the correct passphrase is entered, correcting
internal inconsistencies as necessary. Mostly useful when working with
databases written by other applications.
- pwsafe -e filename
This will prompt the user for a passphrase, and encrypt the file with a key derived from the passphrase. Note: The file can be any file. The encrypted file will have the same name as the original file, with ".PSF" appended to it.
- pwsafe -d filename
This will prompt the user for a passphrase, and decrypt the file with a key derived from the passphrase. Note: This will work only on files that were encrypted by invoking pwsafe with the '-e' option (see above).